package com.mes.warehouse.mapper;

import com.mes.pojo.warehouse.Warehouse;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author 张喆
 * @Company
 * @Description
 * @Time 2024/10/24 14:56
 */
@Mapper
public interface WarehouseMapper {
    List<Warehouse> selectAll(Warehouse warehouse);
    Warehouse selectById(String warehouseId);
    Warehouse selectByName(String warehouseName);
    String selectMaxId();
    Integer insertWarehouse(Warehouse warehouse);
    Integer updateWarehouse(Warehouse warehouse);
}
